projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54af0d4
)
Fix syntax highlighting of easy-menu-define docstrings
author
Stefan Kangas
<stefan@marxist.se>
Fri, 26 Feb 2021 14:59:56 +0000
(15:59 +0100)
committer
Stefan Kangas
<stefan@marxist.se>
Fri, 26 Feb 2021 14:59:56 +0000
(15:59 +0100)
* lisp/emacs-lisp/easymenu.el (easy-menu-define): Add doc-string
declaration for correct syntax highlighting.
lisp/emacs-lisp/easymenu.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/easymenu.el
b/lisp/emacs-lisp/easymenu.el
index b49d886ede18849fef1b841edcecfe60269323f9..8ddfb9e78ef2645f7f9e8fcd54752cf0b9c31ff6 100644
(file)
--- a/
lisp/emacs-lisp/easymenu.el
+++ b/
lisp/emacs-lisp/easymenu.el
@@
-143,7
+143,7
@@
solely of dashes is displayed as a menu separator.
Alternatively, a menu item can be a list with the same format as
MENU. This is a submenu."
- (declare (indent defun) (debug (symbolp body)))
+ (declare (indent defun) (debug (symbolp body))
(doc-string 3)
)
`(progn
,(if symbol `(defvar ,symbol nil ,doc))
(easy-menu-do-define (quote ,symbol) ,maps ,doc ,menu)))